package com.atguigu.classes;

/**
 * @program: IDEAcode
 * @description:方法调用链
 * @author: Mr.zjx
 * create: 2021-07-24-15-01
 **/
public class Test04 {
    public static void main(String[] args) {
        methodLink();
    }

    private static void methodLink(){
        StringBuilder builder = new StringBuilder();
        builder.append(1).append(2).append(3).append(4).append("abcd");
        System.out.println(builder);
    }
}
